package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @author ：mengshx
 * @date ：Created in 2021/8/19 15:16
 * @description：分页
 */
public class PageVo<T> extends Page<T>{
    private Long pageSize=10l;
    private Long pageNum=1l;
   public PageVo(){
       this.current=pageNum;
       this.size = pageSize;
   }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
        this.size=pageSize;
    }

    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
        this.current = pageNum;
    }
}
